package com.bysj.service.impl;

import com.bysj.dao.SuperDao;
import com.bysj.dao.impl.SuperDaoImpl;
import com.bysj.entity.Super;
import com.bysj.service.SuperService;

public class SuperServiceImpl implements SuperService{
 private SuperDao sd=new SuperDaoImpl();
	@Override
	public boolean isEnter(Super s) {
		String sql=" select name,passwd from super where name= ? and passwd= ? ";
		return sd.isEnter(sql,s);
	}

}
